package com.wbs.service.canonical;

/**
 * Class that represent error information
 */
public class ErrorBean {

    /** Constructor */
    public ErrorBean() {
        super();
    }

    /** Constructor */
    public ErrorBean(String code, String message) {
        super();
        this.code = code;
        this.message = message;
    }

    /** Represents the error code information */
    private String code;

    /** Represents the error message information */
    private String message;

    /** Method that return a code */
    public String getCode() {
        return code;
    }

    /** Method that set a code */
    public void setCode(String code) {
        this.code = code;
    }

    /** Method that return a message */
    public String getMessage() {
        return message;
    }

    /** Method that set a message */
    public void setMessage(String message) {
        this.message = message;
    }

}